package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.FlowActivityJumpHistoryVo;

/**
 * @author lilh
 * @date 2019-04-22 14:09
 */
public interface FlowActivityJumpHistoryRepository {

    /**
     * 新增跳转记录
     *
     * @param entity 记录
     * @return 数量
     */
    int insertActivityJumpHistory(FlowActivityJumpHistoryVo entity);

    /**
     * 根据任务id获取跳转记录
     *
     * @param taskId 任务id
     * @return 记录
     */
    FlowActivityJumpHistoryVo getJumpHistoryByTaskId(String taskId);
}
